package com.firmail.service;

import com.firmail.model.Pager;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface IMockApiInfoService <O, V>{
    List<V>  getAPIDataByOrder(V searchModel, int pageNum, int pageSize) ;
    Pager<O> getPageByModel(V searchModel, int pageNum, int pageSize);
    @Deprecated
    O createAPIData(V apiInfo);
    int createApiData(V apiInfo);
    int saveOrUpdateMockData(V apiInfo);
}
